Skip to main content

Creating an entry criteria strategy for customer journeys

6 Tasks

1 hr

Visible to: All users
Intermediate Pega Customer Decision Hub '24.1 English

Scenario

U+ Bank wants to create more sophisticated entry criteria for the Discover and Apply for a Mortgage customer journey. One of the business requirements states that customers must engage with at least one offer from one stage to advance to the next one. Customer engagement is measured based on the click-on actions on the U+ Bank website.

You are tasked with creating such entry criteria for the customer journey. Create a strategy that tracks the interactions with the offers and reports the system the current stage of the journey. Create an interaction history summary to track how many times each customer clicks the actions in the journey. After setting up the interaction history summary, assemble the strategy and directly use that strategy as the entry criteria for all the stages in the Discover and Apply for a Mortgage customer journey.

Use the following credentials to log in to the exercise system:

Role User name Password
Decisioning architect DecisioningArchitect Rules
System architect SystemArchitect Rules

Your assignment consists of the following tasks:

Task 1: Prepare an interaction history summary

Create an interaction history summary that groups its entries by outcomes and counts how many times the system registers each outcome. Use Outcome, Journey, and Stage as group by fields.

Task 2: Materialize the IH_Journeys data source

As a system architect, materialize the created interaction history summary to make it available for the system to use.

Task 3: Create the strategy and assemble the strategy components

Create the Entry Criteria Discover and Apply for a Mortgage strategy in the Grow issue and Mortgages group that applies to UBank-CDH-Data-Customer, and then assemble the decision strategy:

  • Import all the active journeys with all their stages, and then filter for the Discover and Apply for a Mortgage customer journey.
  • Join the interaction history summary with the imported journey stages to assign each stage a corresponding Clicked outcome and the count of that outcome.
  • Filter for each stage and Clicked outcome.
  • Enable external input that represents the active stages from all the journeys. Connect two filter components to the external input to determine if the customer is engaged in the Awareness, or the Explore products stage. Each component filters the results to count the Clicked outcome, which it references from the previous filter components.
  • Connect the Engaged in filters to the Results component to use as conditions in the entry criteria.

Task 4: Set the entry criteria

Use the results of the Entry Criteria Discover and Apply for a Mortgage strategy as entry criteria with the following conditions:

Stage

Entry Criteria Discover and Apply for a Mortgage

Result

Explore product

has results for

Engaged in Awareness

Talk to advisor

has results for

Engaged in Explore

Task 5: Test the decision strategy

Test the strategy on the data for Barbara and Joanna.

Task 6: Test the customer journey

Test the strategy for Joanna. Go through the customer journey by using the Customer Profile Viewer, and then confirm that she progresses through the journey after each click. Additionally, check that the impressions of an action do not count towards journey progress.

 

You must initiate your own Pega instance to complete this Challenge.

Initialization may take up to 5 minutes so please be patient.

Challenge Walkthrough

Detailed Tasks

1 Prepare an interaction history summary

  1. On the exercise system landing page, click Launch Pega Infinity™ to log in to Pega Customer Decision Hub™.
  2. Log in as a decisioning architect:
    1. In the User name field, enter DecisioningArchitect.
    2. In the Password field, enter rules.
  3. In the navigation pane of Customer Decision Hub, click Data > Profile Data Sources to open the Profile Data Sources window.
    PDS
  4. In the Profile Data Sources window, click the Summaries tab to view existing summaries.
  5. In the upper-right corner of the Summaries tab, click Add > Summary, and then create a new summary record:
    1. In the Create summary dialog box, in the Name field, enter IH_Journeys.
    2. In the table with data sources, in the Name column, select Interaction History.
      C
    3. Click Create to create the summary record.
  6. In the Summary: IH_Journeys window, in the Fields tab, click Edit grouping.
    1. In the Edit grouping dialog box, click Add group by field.
    2. In the Group by fields field, enter or select pyOutcome.
    3. Click Add group by field.
    4. In the new field, enter or select pyJourney.
    5. Click Add group by field.
    6. In the new field, enter or select pyStage.
    7. Click Submit to finish the grouping setup.
      e
  7. Click Create aggregate.
    1. In the Create aggregate dialog box, in the Name field, enter Count.
    2. In the Time window field, select All time.
    3. Click Next.
      create aggregate
    4. Click Next to proceed with the setup.
    5. Click Submit to finish create aggregate setup.
  8. Click Save to save the summary configuration.
    c
    Note: When you summarize the entities for Outcome, the system aggregates data in a way that groups the results by the outcome of each interaction. In this exercise, the system groups the results by Outcome, Journey, and Stage for each customer.
  1. In the upper-right corner of the Customer Decision Hub, click Decisioning Architect > Log off.

2 Materialize the IH_Journeys data source

  1. On the exercise system landing page, click Pega Infinity to log in to Dev Studio.
  2. Log in as a system architect:
    1. In the User name field, enter SystemArchitect.
    2. In the Password field, enter rules.
  3. In the Dev Studio, click Configure > Decisioning > Decisions > Data Sources > Interaction History Summaries.
    ih summaries
  4. In the IH_Journeys field, click Manage > Materialized.
    i
  5. In the bottom-left corner of the Dev Studio, click SA > Log off.

3 Create the strategy and assemble the strategy components

  1. On the exercise system landing page, click Pega Infinity to log in to Pega Customer Decision Hub™.
  2. Log in as a decisioning architect:
    1. In the User name field, enter DecisioningArchitect.
    2. In the Password field, enter rules.
  3. In the upper-left corner of Customer Decision Hub, click New > Strategy to configure a strategy.
    create a new strategy
  4. In the Strategy Record Configuration section, in the Description field, enter Entry Criteria Discover and Apply for a Mortgage.
  5. In the Business issue list, select Grow.
  6. In the Group list, select Mortgages.
  7. In the Context section, in the Apply to field, enter or select UBank-CDH-Data-Customer.
  8. Click Create and open to create a strategy.
  9. Right-click the canvas, and then click Sub strategy > External to add the Sub Strategy component to the canvas.
  10. Right-click the Sub strategy component, click Properties, and then configure an external strategy:
    1. In the External strategy field, enter DiscoverAndApplyJourneyStages to specify the strategy from which you want to import the data.
    2. To the right of the External strategy field, click the Open icon to create the external strategy.
    3. In the Create strategy window, in the Context section, in the Add to ruleset field, select CDH-Rules.
    4. In the upper-right corner of the Customer Decision Hub, click Create and open to open the strategy canvas.
    5. Right-click the canvas, and then click Sub strategy > External to add the Sub Strategy component to the canvas.
  11. Right-click the External strategy component, click Properties, and then configure the external strategy:
    1. In the Run strategy on field, select Another page.
    2. In the Page field, enter or select .DecisionCustomer.
    3. In the External strategy field, enter ImportJourneyStages to specify the strategy from which you want to import the data.
      e
    4. To the right of the External strategy field, click the Open icon to create the strategy.
    5. In the upper-right corner of the strategy configuration window, click Create and open to open the strategy canvas.
    6. Right-click the canvas, and then click Enrichment > Decision data to add the component to the canvas.
  12. Right-click the Decision data component, click Properties, and then configure the decision data:
    1. In the Import section, in the Decision Data field, enter or select JourneyStages.
    2. Click Submit to close the Decision data properties dialog box.
  13. On the canvas, hover over the Decision data component, and then click and drag the gray arrow to the Results component as shown in the following figure:
    c
  14. Save and close the strategy.
  15. Click Submit to close the External strategy properties dialog box.
  16. Right-click the canvas, and then click Arbitration > Filter to add a filter component to the canvas.
  17. Right-click the Filter component, click Properties, and then configure the filter:
    1. In the Filter properties window, in the Name field, enter Awareness.
    2. In the Filter condition field, enter @equals(.pyStage,"Awareness").
    3. Click Submit to finish the component setup.
  18. Right-click the canvas, and then click Arbitration > Filter to add the second filter component to the canvas.
  19. Right-click the Filter component, click Properties, and then configure the filter:
    1. In the Filter properties window, in the Name field, enter Explore Products.
    2. In the Filter condition field, enter @equals(.pyStage,"ExploreProducts").
    3. Click Submit to finish the component setup.
  20. Right-click the canvas, and then click Arbitration > Filter to add the third filter component to the canvas.
  21. Right-click the Filter component, click Properties, and then configure the filter:
    1. In the Filter properties window, in the Name field, enter Talk to Advisor.
    2. In the Filter condition field, enter @equals(.pyStage,"Complete").
    3. Click Submit to finish the component setup.
  22. On the canvas, hover over the Import Journey Stages component, and then click and drag the gray arrow to each new filter component.
  23. On the canvas, for each new filter component, hover over the component and then click and drag the gray arrow to the Results component as shown in the following figure:
    canvas 2 bigger
  24. Save and close the strategy.
  25. Click Submit to close the External strategy properties dialog box.
  26. Right-click the canvas, and then click Arbitration > Filter to add a new filter component to the canvas.
  27. Right-click the Filter component, click Properties, and then configure the filter:
    1. In the Filter properties window, in the Name field, enter Filter for Discover and Apply for a Mortgage.
    2. In the Filter condition field, enter or select @equals("DiscoverAndApplyForAMortgage",.pyJourney).
      Note: For this strategy, you filter out any other journeys to use only the Discover and Apply for a Mortgage customer journey.
    3. Click Submit to finish the component setup.
  1. On the canvas, hover over the External strategy, and then click and drag the gray arrow to the Filter component as shown in the following figure.
    c
  2. Right-click the canvas, and then click Import > Interaction history summary to add the interaction history summary component to the canvas.
  3. Right-click the IH Summary component, click Properties, and then configure an interaction history summary:
    1. In the Interaction history summary properties window, in the Name field, enter IH_Journeys Import.
    2. In the Summary data set section, in the empty field, press the down arrow and select IHJourneys.
    3. Click Submit to finish the IH Summary component setup.
      Note: This configuration of the Interaction history summary component references the interaction history summary that you created in the first task.
  1. Right-click the canvas, and then click Enrichment > Data Join to add the data join component to the canvas.
  2. Right-click the Data Join component, click Properties, and then configure the data join:
    1. In the Data Import properties window, in the Name field, enter IH and Journeys Data Join.
    2. In the Join source components with section, in the Name list, select IH_Journeys Import.
    3. In the Join when all conditions below are met section, click Add item.
    4. In the IH and Journeys Data Join column, enter or select .pyJourney.
    5. In the IH_Journeys Import column, enter or select .pyJourney.
    6. Click Add item.
    7. In the IH and Journeys Data Join column, enter or select .pyStage.
    8. In the IH_Journeys Import column, enter or select .pyStage.
      The following figure shows the current stage of the Data Join component configuration:
      Data join properties
    9. Click the Properties mapping tab.
    10. In the Define mapping section, click Add item.
    11. In the Target column, enter or select .Count.
    12. In the Source column, enter or select .Count.
    13. Click Add item.
    14. In the Target column, enter or select .pyOutcome.
    15. In the Source column, enter or select .pyOutcome. The following figure shows the Properties mapping tab configuration:
      Data join mapping
    16. Click Submit to finish the component setup.
      Note: In step 30, the journey stages that you imported are joined with matching interaction histories, which is why we group by journey name and stage in the Data join component.
  1. On the canvas, hover over the Filter for Discover and Apply for a Mortgage component, and then click and drag the gray arrow to the Data Join component.
    c
  2. Right-click the canvas, and then click Arbitration > Filter to add the filter component to the canvas.
  3. Right-click the Filter component, click Properties, and then configure the filter:
    1. In the Filter properties window, in the Name field, enter Awareness Stage Filter.
    2. In the Filter condition field, enter @equals("Awareness",.pyStage) && @equals("Clicked",.pyOutcome).
    3. Click Submit to finish the component setup.
      filter configuration finished
  4. On the canvas, hover over the Data Join component, and then click and drag the grey arrow to the Awareness Stage Filter component.
  5. Right-click the canvas, and then click Arbitration > Filter to add the filter component to the canvas.
  6. Right-click the Filter component, click Properties, and then configure the filter.
    1. In the Filter properties window, in the Name field, enter Explore Stage Filter.
    2. In the Filter condition field, enter: @equals("ExploreProducts",.pyStage) && @equals("Clicked",.pyOutcome).
    3. Click Submit to finish the component setup.
      second filter configuration finished
  7. On the canvas, hover over the Data Join component, and then click and drag the gray arrow to the Explore Stage Filter component.
    canvas 5 bigger
    Note: In these two filter components, you filter for only clicked outcomes and stages as those items are the only information that is relevant to this strategy.
  1. Right-click the canvas, and then click Arbitration > Filter.
  2. Right-click the Filter component, click Properties, and then configure the component:
    1. In the Filter properties window, in the Name field, enter Engaged in Awareness.
    2. In the Filter condition field, enter AwarenessStageFilter.Count>0.
    3. Click Submit to finish the component setup.
  3. Right-click the canvas, and then click Arbitration > Filter to add the component to the canvas.
  4. Right-click the Filter component, click Properties, and then configure the filter:
    1. In the Filter properties window, in the Name field, enter Engaged in Explore.
    2. In the Filter condition field, enter ExploreStageFilter.Count>0.
    3. Click Submit to finish the component setup.
  5. Right-click the canvas, and then click Enable external input to add the component to the canvas.
  6. On the canvas, hover over the External Input component, and then click and drag the gray arrow to the Engaged in Awareness and Engaged in Explore components.
  7. On the canvas, hover over the Engaged in Awareness component, and then click and drag the gray arrow to the Results component. Repeat for the Engaged in Explore component.
    full strategy bigger
  8. Click Save to finish the strategy setup.
  9. Click Actions > Mark as relevant record to mark this strategy for later use.
    Note: You need to log off and log in as the decisioning architect for this strategy to become a relevant record.
  1. In the upper-right corner of the Customer Decision Hub, click Decisioning Architect > Log off.
  2. Log in as a decisioning architect:
    1. In the User name field, enter DecisioningArchitect.
    2. In the Password field, enter rules.

4 Set the entry criteria

  1. In the navigation pane of Customer Decision Hub, click Next-Best-Action > Designer.
  2. On the Next-Best-Action Designer landing page, click Engagement policy.
  3. In the Business structure pane, in the Grow issue, click Mortgages > Discover and Apply for a Mortgage to view the journey.
  4. In the header of the Discover and Apply for a Mortgage journey, click Edit.
  5. In the Awareness stage, click More > Edit stage entry criteria, and then remove the current criteria:
    1. In the Edit entry criteria: Awareness window, click More > Clear all criteria.
      Clear all criteria
    2. Click Submit to finish editing the entry criteria.
  6. In the Explore products stage, click More > Edit stage entry criteria, and then remove the current criteria:
    1. In the Edit entry criteria: Explore products window, click More > Clear all criteria, and then click Add criteria.
    2. In the Customer is in this stage when section, in the second list, select Strategy > Entry Criteria Discover and Apply for a Mortgage.
    3. In the last list, select Engaged in Awareness.
      Customer entry criteria
    4. Click Submit to finish editing the entry criteria.
  7. In the Talk to advisor stage, click More > Edit stage entry criteria, and then remove the current criteria:
    1. In the Edit entry criteria: Talk to Advisor window, click More > Clear all criteria, and then click Add criteria.
    2. In the Customer is in this stage when section, in the second list, select Strategy > Entry Criteria Discover and Apply for a Mortgage.
    3. In the last list, select Engaged in Explore.
      Customer criteria 1
    4. Click Submit to finish editing the entry criteria.
  8. Click Save.
    Note: With these criteria, you look for results in the final filter component. If a customer clicks one of the awareness offers, the last filter component contains the results for Engaged in Awareness outcome.

5 Test the decision strategy

Note: For strategy testing purposes, you need a customer that has already progressed through the Discover and Apply for a Mortgage customer journey. Use the following steps to progress Barbara through the customer journey.
  1. On the exercise system landing page, in the upper left corner, select the Application Switcher and click U+ Bank icon to open the website.
    uplus bank button
    1. In the upper right corner of the home page, click Log in to log in as a customer.
    2. In the Username field, select Barbara, and then click Sign in to log in.
    3. In the web tile, click Learn more to record a positive interaction with the treatment that is displayed on the page.
    4. In the upper-right corner of the page, click the user icon, and then click Log out.
  2. Repeat step 1 until you reach Talk to advisor web tile. Click Learn more to record a positive interaction with the treatment.
  3. In the upper-left corner of the Customer Decision Hub, click Intelligence > Strategies to open the strategies list.
    open strategies list
  4. Double click EntryCriteriaDiscoverAndApplyForAMortgage to open the newly created strategy.
  5. On the right side of the canvas, expand the test pane.
    t
  6. In the Test run pane, on the Single case tab, expand the Settings section.
  7. Select the Data transform option.
  8. In the Data transform field, enter or select Barbara.
  9. In the For external inputs use strategy field, enter DiscoverAndApplyJourneyStages.
  10. In the Test run pane, select the Specify a single component within the strategy checkbox.
  11. In the Component list, select Awareness. The following figure shows the current stage of the Test Run pane configuration:
    data transform test run
  12. In the Test run pane, click Run.
  13. Repeat steps 11 through 12 for other components in the strategy to notice how the results change.
  14. In the Settings section, in the Data transform field, enter or select Joanna.
  15. On the Test run pane, click Run.
    Note: Joanna has not engaged in this customer journey, so the strategy does not produce any results for her.

6 Test the customer journey

  1. In the upper-right corner of Customer Decision Hub, click Reports > Customer Profile Viewer.
    Customer Profile Viewer is located in the Reports context menu
  2. In the Type field, select Customer name.
  3. In the Customer name field, enter or select Joanna Williams.
  4. Click View to view the customer profile for Joanna.
  5. Go to the Next best actions tab.
  6. In the Channel context field, select Web Inbound.
  7. Select Show only decision results that will be delivered.
  8. Click Make decision.
    Note: Only the first stage action is listed and it has a PASSED flag because Joanna is eligible only for the first stage of the customer journey.
  1. Select the ProsAndCons row.
  2. Expand the Capture response section.
  3. In the Outcome field, select Clicks, and then click Capture and redecision.
    response capture button
    Note: Joanna has moved to the Explore products stage, and that all available actions for that stage have the PASSED flag.
  1. Repeat steps 11 to 13 for one of the Explore products actions, and then analyze the results.
  2. Go to the Overview tab.
  3. In the upper-right corner of the Customer Profile Viewer, click Refresh.
    refresh buton
    Note: Joanna progressed through the customer journey.
    customer journey progress

This Challenge is to practice what you learned in the following Module:


Available in the following mission:

If you are having problems with your training, please review the Pega Academy Support FAQs.

Did you find this content helpful?

Want to help us improve this content?

We'd prefer it if you saw us at our best.

Pega Academy has detected you are using a browser which may prevent you from experiencing the site as intended. To improve your experience, please update your browser.

Close Deprecation Notice